<?php
/**
 * Created by PhpStorm.
 * User: dev
 * Date: 2018/8/7
 * Time: 10:46
 */

namespace App\Services\ApiServer\Response;

/**
 * 钱包
 */
class HomeWallet extends BaseResponse
{
    /**
     * 接口名称
     * @var string
     */
    protected $method = 'homewallet';

    /**
     * 执行接口
     * @param  array &$params 请求参数
     * @return array
     */
    public function run(&$params)
    {
        return [
            'status' => true,
            'code' => '200',
            'data' => [
                'current_time' => date('Y-m-d H:i:s')
            ]
        ];
    }
}